/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sanerzone.smscenter.modules.sms.service;


import com.google.common.collect.Maps;
import com.sanerzone.jeebase.common.persistence.Page;
import com.sanerzone.jeebase.common.service.CrudService;
import com.sanerzone.smscenter.modules.sms.dao.UnsubKeywordDao;
import com.sanerzone.smscenter.modules.sms.entity.UnsubKeyword;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 退订关键字管理Service
 * @author xql
 * @version 2018-04-15
 */
@Service
@Transactional(readOnly = true)
public class UnsubKeywordService extends CrudService<UnsubKeywordDao, UnsubKeyword> {

	public UnsubKeyword get(String id) {
		return super.get(id);
	}
	
	public List<UnsubKeyword> findList(UnsubKeyword unsubKeyword) {
		return super.findList(unsubKeyword);
	}
	
	public Page<UnsubKeyword> findPage(Page<UnsubKeyword> page, UnsubKeyword unsubKeyword) {
		return super.findPage(page, unsubKeyword);
	}
	
	@Transactional(readOnly = false)
	public void save(UnsubKeyword unsubKeyword) {
		super.save(unsubKeyword);
	}
	
	@Transactional(readOnly = false)
	public void delete(UnsubKeyword unsubKeyword) {
		super.delete(unsubKeyword);
	}
	
}